import { createStore } from 'vuex'

const store = createStore({
  state() {
    return {
      isAlerming: false,
    }
  },
  mutations: {
    setIsLogin(state, value) {
      console.log(value)
      state.is_login = value;
    },
  },
  actions: {

  },
  getters: {
    isLogin(state, getters) {
      return state.isLogin;
    },
  }
})
export default store;